com.highdeal.mappingtable.hci
Class MappingTableClassInColumnModel

java.lang.Object
  extended by com.highdeal.hci.HCIModelAdapter
      extended by com.highdeal.mappingtable.hci.MappingTableClassInColumnModel
All Implemented Interfaces:
ITagNameProvider, IXMLMarshallable, XMLMarshallable

public class MappingTableClassInColumnModel
extends HCIModelAdapter

This Java class represents an input attribute of a mapping table class.
It is used to define mapping table class schema defining the input columns and theirs types.

See Also:
MappingTableClassModel

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="inColumn">
 	<xs:complexType>
 		<xs:sequence>
 			<xs:choice>
 				 <xs:element ref="string" />
 				 <xs:element name="currency" type="CurrencyType" />
 			</xs:choice>
 		</xs:sequence>
		<xs:attribute name="name" type="xs:string"/>
 		<xs:attribute name="description" type="xs:string"/>
 	</xs:complexType>
 </xs:element>


Nested Class Summary
static class MappingTableClassInColumnModel.InMappingTableClassType
          This enumeration lists the possible attribute values in a in a column of a mapping table class.
 
Field Summary
static java.lang.String TAG_NAME
          Constant that contains the XML tag of the inColumn model
 
Constructor Summary
MappingTableClassInColumnModel()
           
 
Method Summary
 void addCharacterData(java.lang.String cData)
          Adds character data to the content element.
 void addChild(java.lang.String tagName, XMLMarshallable child)
          Adds a child to the object, the child representing the marshallable object which must be added to the element.
 java.lang.String getDescription()
          Gets the description of the in column.
 java.lang.String getName()
          Gets the name of the in column.
 java.lang.String getTagName()
          Gets the XML name of the HCI model.
 MappingTableClassInColumnModel.InMappingTableClassType getType()
          Gets the type of the in column.
 void marshalAttributes(XMLOutputter output)
          Gives an XML representation of the attributes of an object.
 void marshalChildren(XMLOutputter output)
          Gives an XML representation of the child objects of an object.
 void setAttributes(XMLAttributes atts)
          Sets the attributes of the XML representation of the element being processed.
 void setDescription(java.lang.String description)
          Sets the description of the in column.
 void setName(java.lang.String name)
          Sets the name of the in column.
 void setType(MappingTableClassInColumnModel.InMappingTableClassType type)
          Sets the type of the in column.
 
Methods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_NAME

public static final java.lang.String TAG_NAME
Constant that contains the XML tag of the inColumn model

See Also:
Constant Field Values
Constructor Detail

MappingTableClassInColumnModel

public MappingTableClassInColumnModel()
Method Detail

getName

public java.lang.String getName()
Gets the name of the in column.

Returns:
A string that contains the name of the in column

setName

public void setName(java.lang.String name)
Sets the name of the in column.

Parameters:
name - The name to set to this in column

getDescription

public java.lang.String getDescription()
Gets the description of the in column.

Returns:
A string that contains the description of the in column

setDescription

public void setDescription(java.lang.String description)
Sets the description of the in column.

Parameters:
description - The description to set to this in column

getType

public MappingTableClassInColumnModel.InMappingTableClassType getType()
Gets the type of the in column.

Returns:
The type of the in column
See Also:
MappingTableClassInColumnModel.InMappingTableClassType

setType

public void setType(MappingTableClassInColumnModel.InMappingTableClassType type)
Sets the type of the in column.

Parameters:
type - The type to set to this in column
See Also:
MappingTableClassInColumnModel.InMappingTableClassType

getTagName

public java.lang.String getTagName()
Gets the XML name of the HCI model.

Returns:
The XML tag name

addCharacterData

public void addCharacterData(java.lang.String cData)
Description copied from interface: XMLMarshallable
Adds character data to the content element.

Parameters:
cData - The character data to be added

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Description copied from interface: XMLMarshallable
Adds a child to the object, the child representing the marshallable object which must be added to the element.

Parameters:
tagName - The name of tag for the child
child - The child to be added

setAttributes

public void setAttributes(XMLAttributes atts)
Description copied from interface: XMLMarshallable
Sets the attributes of the XML representation of the element being processed.

Parameters:
atts - The XML attributes of the current element

marshalAttributes

public void marshalAttributes(XMLOutputter output)
Description copied from interface: IXMLMarshallable
Gives an XML representation of the attributes of an object.

Parameters:
output - The XML output to marshal the object attributes into

marshalChildren

public void marshalChildren(XMLOutputter output)
Description copied from interface: IXMLMarshallable
Gives an XML representation of the child objects of an object.

Parameters:
output - The XML output to marshal the child objects into

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)